package com.library.service.api;

import com.library.bean.ReaderCard;

/**
 * @author One
 * @version 1.0
 * @date 2021/9/26 10:43
 */
public interface LoginService {
    public boolean hasMatchReader(long readerId,String password);

    public String getAdminUsername(long adminId);

    public ReaderCard findReaderCardByReaderId(long readerId);

    public boolean hasMatchAdmin(long adminId,String password);

    public boolean adminRePassword(long adminId, String newPassword);
    public String getAdminPassword(long adminId);


    public boolean readerRePassword(long readerId, String newPassword);


    public String getReaderPassword(long readerId);

}
